home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / H / STDDEF.H < prev    next >
C/C++ Source or Header  |  1997-07-13  |  755b  |  39 lines

  1. #ifndef __STDDEF_H__
  2. #define __STDDEF_H__
  3.  
  4. /* Below is different than from 16bit C typedefs */
  5. typedef unsigned char byte;
  6. typedef unsigned short int word;
  7. typedef unsigned long int dword;
  8.  
  9. /* signed versions */
  10. typedef signed char sbyte;
  11. typedef signed short int sword;
  12. typedef signed long int sdword;
  13.  
  14. #ifndef size_t
  15.   typedef unsigned int size_t;
  16. #endif
  17.  
  18. #ifndef NULL
  19.   #define NULL 0
  20. #endif
  21.  
  22. #ifndef ERROR
  23.   #define ERROR 0xffffffff
  24. #endif
  25.  
  26. //enable Watcom underscore appending
  27. #ifdef __WATCOMC__
  28.   #ifdef __cplusplus
  29.     #pragma aux default "_*" parm caller [] \
  30.         value struct float struct routine [eax] \
  31.         modify [eax ebx ecx edx];
  32.   #else
  33.     #pragma aux default "_*";
  34.   #endif
  35. #endif
  36.   
  37. #endif
  38.  
  39.